package com.pan.structual.facade.component;

import javax.swing.*;
import java.awt.*;

public class TextCreate {


    public JLabel getLabel(String text){

        JLabel label = new JLabel(text);
        label.setForeground(Color.BLACK);
        label.setFont(new Font("宋体",Font.BOLD,14));
        return label;
    }
}
